import { createRoot } from "react-dom/client";

import { RouterProvider } from "react-router-dom";

import { router } from "./router";
// 严格模式会执行两次 渲染两次
createRoot(document.getElementById("root")!).render(
  // <StrictMode>
  <RouterProvider router={router}></RouterProvider>
  // </StrictMode>,
);
